home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / INTER53C.ZIP / CMOS.LST next >
File List  |  1997-01-12  |  66KB  |  1,730 lines

  1. CMOS Memory Map            Release 53        Last change 12jan97
  2.  
  3. Compiled from multiple sources by Padgett Peterson
  4. Corrections/additions/comments to: padgett@tccslr.dnet.mmc.com
  5.  
  6. No guarantees of any kind.
  7.  
  8. Copyrights/Trademarks belong to whoever they may belong to.
  9.  
  10. Found: Algorithm used by IBM in calculating CRC checksums for PS/2
  11.        (see bytes 32h-33h). Complex (recursive part is 12 lines of
  12.        assembly) and not yet validated for every model.
  13. --------!------------------------------------
  14.             Background
  15.  
  16. The CMOS (complementary metal oxide semiconductor) memory is actually 
  17. a 64 or 128 byte battery-backed RAM memory module that is a part of the 
  18. system clock chip. Some IBM PS/2 models have the capability for a
  19. 2k (2048 byte) CMOS ROM Extension.
  20.  
  21. First used with clock-calender cards for the IBM PC-XT, when the PC/AT
  22. (Advanced Technology) was introduced in 1985, the Motorola MC146818 
  23. became a part of the motherboard. Since the clock only uses fourteen of 
  24. the RAM bytes, the rest are available for storing system configuration data.
  25.  
  26. Interestingly, the original IBM-PC/AT (Advanced Technology) standard for 
  27. the region 10h-3Fh is nearly universal with one notable exception: The 
  28. IBM PS/2 systems deviate considerably (Note: AMSTRAD 8086 machines were 
  29. among the first to actively use the CMOS memory available and since they 
  30. *predate* the AT, do not follow the AT standard).
  31.  
  32. This is just another example of how IBM created a standard, lost control 
  33. of it, tried to replace it, failed and lost market share in the process. 
  34.  
  35. Originally, the IBM PC/AT only made use of a small portion of CMOS memory
  36. and was defined in the IBM PC/AT Technical Reference Manual, specifically 
  37. bytes 10h, 12h, 14h-18h, 2Eh-33h. The balance was left undefined but was 
  38. quickly appropriated by various BIOS manufacturers for such user-selectable 
  39. options such as wait states, clock speeds, initial boot drive selection, and 
  40. password storage.
  41.  
  42. Later, as CMOS memory requirements grew, newer clock chips with 128
  43. bytes of RAM came into use. However the fact remains that once the AT 
  44. standard was established, only IBM has tried to change the definitions 
  45. of that first description.
  46.  
  47.             Accessing the CMOS
  48.  
  49. The CMOS memory exists outside of the normal address space and cannot
  50. contain directly executable code. It is reachable through IN and OUT
  51. commands at port number 70h (112d) and 71h (113d). To read a CMOS byte,
  52. an OUT to port 70h is executed with the address of the byte to be read and
  53. an IN from port 71h will then retrieve the requested information. The 
  54. following BASIC fragment will read 128 CMOS bytes and print them to the 
  55. screen in 8 rows of 16 values.
  56.  
  57. CMOS RAM space has an upper limit of 128 bytes because of the structure
  58. of port 70: only bits 0-6 are used for addressing, bit 7 is used to 
  59. enable (0) or disable (1) Non-Maskable Interrupts (NMI) and explains why
  60. IBM uses 80h OR <address> to read/write data & follows with  a "throw-away"
  61. call.
  62.  
  63. Note that if the CMOS only has 64 bytes available, addressing will 
  64. generally wrap and addresses from 40h-7Fh will mirror 00h-3Fh. Output will 
  65. be hexadecimal.
  66.  
  67. 10 CLS
  68. 20 FOR i = 0 TO &H7F 
  69. 30 OUT &H70, i
  70. 40 PRINT USING "\   \"; HEX$(INP(&H71));
  71. 50 NEXT i
  72. 60 PRINT " " 
  73.  
  74. Note: where not otherwise noted, all data points are expressed as BYTES
  75.       these are eight bit values and are read from MSB to LSB e.g.
  76.       0000 0000        0101 1010 binary would be written as 5Ah
  77.       7654 3210        where only some bits are used this is represented with
  78.             Xs e.g bits 5-3 would be shown as 00xx x000
  79.  
  80. Note: the entries for AMI WinBIOS also apply to AMIBIOS with core dates of 
  81.     12/15/95 or later
  82.  
  83. --------!------------------------------------
  84.         Organization of CMOS Memory - Clock
  85.  
  86. 00h-0Eh is defined by the clock hardware and all must follow it. Other 
  87. manufacturers generally follow the same format as specified for the
  88. region 10h - 2Fh. Some also follow the IBM format for 30h-33h but not all 
  89. (Zenith in particular is different).
  90.  
  91. The first fourteen bytes are dedicated to the MC146818 chip clock functions 
  92. and consist of ten read/write data registers and four status registers, two 
  93. of which are read/write and two of which are read only.
  94.  
  95. The format of the ten clock data registers (bytes 00h-09h) is:
  96.  
  97. ----------R00--------------------------------
  98. CMOS 00h - RTC - SECONDS
  99. Desc:    (BCD 00-59, Hex 00-3B)
  100. Note: Bit 7 is read only    
  101. SeeAlso: CMOS 01h,CMOS 02h,CMOS 04h
  102. ----------R01--------------------------------
  103. CMOS 01h - RTC - SECOND ALARM
  104. Desc:    (BCD 00-59, Hex 00-3B; "don't care" if C0-FF)
  105. SeeAlso: CMOS 00h,CMOS 03h,CMOS 05h
  106. ----------R02--------------------------------
  107. CMOS 02h - RTC - MINUTES
  108. Desc:    (BCD 00-59, Hex 00-3B)
  109. SeeAlso: CMOS 00h,CMOS 03h,CMOS 04h
  110. ----------R03--------------------------------
  111. CMOS 03h - RTC - MINUTE ALARM
  112. Desc:    (BCD 00-59, Hex 00-3B; "don't care" if C0-FF))    
  113. SeeAlso: CMOS 00h,CMOS 02h,CMOS 05h
  114. ----------R04--------------------------------
  115. CMOS 04h - RTC - HOURS
  116. Desc:    (BCD 00-23, Hex 00-17 if 24 hr mode)
  117.     (BCD 01-12, Hex 01-0C if 12 hr am)
  118.     (BCD 81-92. Hex 81-8C if 12 hr pm)          
  119. SeeAlso: CMOS 00h,CMOS 02h,CMOS 05h
  120. ----------R05--------------------------------
  121. CMOS 05h - RTC - HOUR ALARM
  122. Desc:    (same as hours; "don't care" if C0-FF))        
  123. SeeAlso: CMOS 01h,CMOS 03h,CMOS 04h
  124. ----------R06--------------------------------
  125. CMOS 06h - RTC - DAY OF WEEK
  126. Desc:    (01-07 Sunday=1)    
  127. SeeAlso: CMOS 07h,CMOS 08h,CMOS 09h
  128. ----------R07--------------------------------
  129. CMOS 07h - RTC - DATE OF MONTH
  130. Desc:    (BCD 01-31, Hex 01-1F)
  131. SeeAlso: CMOS 06h,CMOS 08h,CMOS 09h
  132. ----------R08--------------------------------
  133. CMOS 08h - RTC - MONTH
  134. Desc:    (BCD 01-12, Hex 01-0C)      
  135. SeeAlso: CMOS 06h,CMOS 07h,CMOS 09h
  136. ----------R09--------------------------------
  137. CMOS 09h - RTC - YEAR
  138. Desc:    (BCD 00-99, Hex 00-63)      
  139. Notes:    BCD/Hex selection depends on Bit 2 of register B (0Bh)
  140.     12/24 Hr selection depends on Bit 1 of register B (0Bh)
  141.     Alarm will trigger when contents of all three Alarm byte registers
  142.       match their companions.
  143. SeeAlso: CMOS 06h,CMOS 07h,CMOS 08h
  144.  
  145. The following is the on-chip status register information. 
  146.  
  147. ----------R0A--------------------------------
  148. CMOS 0Ah - RTC - STATUS REGISTER A (read/write) (usu 26h)
  149.  
  150. Bitfields for Real-Time Clock status register A:
  151. Bit(s)    Description    (Table C001)
  152.  7    =1 time update cycle in progress, data ouputs undefined 
  153.     (bit 7 is read only)
  154.  6-4    22 stage divider
  155.     010 = 32768 Hz time base (default)
  156.  3-0    rate selection bits for interrupt
  157.     0000 none
  158.     0011 122 microseconds (minimum)
  159.     1111 500 milliseconds    
  160.     0110 976.562 microseconds (default 1024 Hz)
  161. SeeAlso: #C002,#C003,#C004
  162. ----------R0B--------------------------------
  163. CMOS 0Bh - RTC - STATUS REGISTER B (read/write) 
  164.  
  165. Bitfields for Real-Time Clock status register B:
  166. Bit(s)    Description    (Table C002)
  167.  7    enable cycle update
  168.  6    enable periodic interrupt
  169.  5    enable alarm interrupt
  170.  4    enable update-ended interrupt
  171.  3    enable square wave output
  172.  2    Data Mode - 0: BCD, 1: Binary
  173.  1    24/12 hour selection - 1 enables 24 hour mode
  174.  0    Daylight Savings Enable - 1 enables
  175. SeeAlso: #C001,#C003,#C004
  176. ----------R0C--------------------------------
  177. CMOS 0Ch - RTC - STATUS REGISTER C (Read only)
  178.  
  179. Bitfields for Real-Time Clock status register C:
  180. Bit(s)    Description    (Table C003)
  181.  7    Interrupt request flag
  182.     =1 when any or all of bits 6-4 are 1 and appropriate enables
  183.       (Register B) are set to 1. Generates IRQ 8 when triggered.
  184.  6    Periodic Interrupt flag
  185.  5    Alarm Interrupt flag 
  186.  4    Update-Ended Interrupt Flag
  187.  3-0    unused???
  188. SeeAlso: #C001,#C002,#C004
  189. ----------R0D--------------------------------
  190. CMOS 0Dh - RTC - STATUS REGISTER D (read only)
  191.  
  192. Bitfields for Real-Time Clock status register D:
  193. Bit(s)    Description    (Table C004)
  194.  7    Valid RAM - 1 indicates batery power good, 0 if dead or disconnected.
  195.  6-0    unused??? (0)
  196. --------!------------------------------------
  197.         Organization of CMOS Memory - non-Clock
  198.  
  199. The last two bytes in the first hexadecimal decade (hexade ?) were not 
  200. specified in the PC/AT but may have the following use on some systems:
  201. ----------R0E--------------------------------
  202. CMOS 0Eh  - IBM PS/2 - DIAGNOSTIC STATUS BYTE 
  203.  
  204. Bitfields for IBM PS/2 diagnostic status byte:
  205. Bit(s)    Description    (Table C005)
  206.  7    indicates clock has lost power
  207.  6    incorrect checksum
  208.  5    equipment configuration is incorrect
  209.       (power-on check requires that atleast one floppy be installed)
  210.  4    error in memory size
  211.  3    controller or disk drive failed initialization
  212.  2    time is invalid
  213.  1    installed adaptors do not match configuration
  214.  0    time-out while reading adaptor ID
  215. ----------R0E13------------------------------
  216. CMOS 0Eh-13h - AMSTRAD - TIME AND DATE MACHINE LAST USED
  217. ----------R0F--------------------------------
  218. CMOS 0Fh - IBM - RESET CODE (IBM PS/2 "Shutdown Status Byte")
  219.  
  220. (Table C006)
  221. Values for Reset Code / Shutdown Status Byte:
  222.  00h-03h perform power-on reset
  223.    00h    software reset or unexpected reset
  224.    01h    reset after memory size check in real/virtual mode
  225.     (or: chip set initialization for real mode reentry)
  226.    02h    reset after successful memory test in real/virtual mode
  227.    03h    reset after failed memory test in real/virtual mode
  228.  04h    INT 19h reboot
  229.  05h    flush keyboard (issue EOI) and jump via 40h:0067h
  230.  06h    reset (after successful test in virtual mode)
  231.     (or: jump via 40h:0067h without EOI)
  232.  07h    reset (after failed test in virtual mode)
  233.  08h    used by POST during protected-mode RAM test (return to POST)
  234.  09h    used for INT 15/87h (block move) support
  235.  0Ah    resume execution by jump via 40h:0067h
  236.  0Bh    resume execution via IRET via 40h:0067h
  237.  0Ch    resume execution via RETF via 40h:0067h
  238.  0Dh-FFh perform power-on reset
  239. --------!------------------------------------
  240.  
  241. The second group of values extends from address 10h to 2Dh. The word at
  242. 2Eh-2Fh is a byte-wise summation of the values in these bytes. Most BIOSes
  243. will generate a CMOS Checksum error if this value is invalid however many 
  244. programs ignore the checksum and report the apparent value. The current
  245. version of MSD reports my XT as having 20+ MB of extended memory. 
  246.  
  247. Where a definiton appears universal, no identification is made. Where
  248. the definition is thought to be specific to a manufacturer/model (AMI, 
  249. AMSTRAD, IBM AT, IBM PS/2) the identification is enclosed in parens. The
  250. AMSTAD definitions appear to relate to 8088/8086 (PC and PC/XT class)
  251. mchines only. AT class machines appear to adhere to IBM PC/AT fornat.
  252.  
  253. ----------R10--------------------------------
  254. CMOS 10h - IBM - FLOPPY DRIVE TYPE
  255. Note:    a PC having a 5 1/4 1.2 Mb A: drive and a 1.44 Mb B: drive will
  256.       have a value of 24h in byte 10h. With a single 1.44 drive: 40h.
  257.  
  258. Bitfields for floppy drives A/B types:
  259. Bit(s)    Description    (Table C007)
  260.  7-4    first floppy disk drive type (see #C008)
  261.  3-0    second floppy disk drive type (see #C008)
  262.  
  263. (Table C008)
  264. Values for floppy drive type:
  265.  00h    no drive
  266.  01h    360 KB 5.25 Drive
  267.  02h    1.2 MB 5.25 Drive - note: not listed in PS/2 technical manual
  268.  03h    720 KB 3.5 Drive
  269.  04h    1.44 MB 3.5 Drive
  270.  05h    2.88 MB 3.5 drive
  271.  06h-0Fh unused
  272. SeeAlso: #C007
  273. ----------R11--------------------------------
  274. CMOS 11h - IBM PS/2 - FIRST FIXED DISK DRIVE TYPE BYTE (00-FFh)
  275. Note:    if IBM ESDI or SCSI drive controller is used, CMOS drive type will be
  276.       zero (00 - no drive) and INT 13h will be directed to controller ROM.
  277. ----------R11--------------------------------
  278. CMOS 11h - older AMI Hi-Flex BIOS - KEYBOARD TYPEMATIC DATA 
  279.  
  280. Bitfields for AMI Hi-Flex BIOS keyboard typematic data:
  281. Bit(s)    Description    (Table C009)
  282.  7    enable Typematic
  283.  6-5    Typematic Delay (wait before begin repeating)
  284.     00b 250 ms
  285.     01b 500 ms
  286.     10b 750 ms
  287.     11b 100 ms
  288.  4-0    Typematic Rate (char/sec)
  289.     00000b - 30.0     01000b - 15.9    10000b - 7.5  11000b - 3.7
  290.     00001b - 26.7     01001b - 13.3    10001b - 6.7  11001b - 3.3
  291.     00010b - 24.0     01010b - 12.0    10010b - 6.0  11010b - 3.0
  292.     00011b - 21.8     01011b - 10.9    10011b - 5.5  11011b - 2.7
  293.     00100b - 20.0     01100b - 10.0    10100b - 5.0  11100b - 2.5
  294.     00101b - 18.5     01101b -  9.2    10101b - 4.6  11101b - 2.3
  295.     00110b - 17.1     01110b -  8.6    10110b - 4.3  11110b - 2.1
  296.     00111b - 16.0     01111b -  8.0    10111b - 4.0  11111b - 2.0
  297. ----------R11--------------------------------
  298. CMOS 11h - AMI - ADVANCED SETUP OPTIONS
  299.  
  300. Bitfields for AMI advanced setup options:
  301. Bit(s)    Description    (Table C010)
  302.  7    mouse enabled
  303.  6    test memory above 1 megabyte
  304.  5    generate clicks during memory test
  305.  4    enable memory parity check
  306.  3    display key for Setup while booting
  307.  2    store user-defined disk data at top of memory instead of 0030h:0000h
  308.  1    request F1 keypress on boot error
  309. ----------R11--------------------------------
  310. CMOS 11h - AMI WinBIOS - BOOT OPTIONS
  311. SeeAlso: CMOS 13h"AMI"
  312.  
  313. Bitfields for AMI WinBIOS boot options:
  314. Bit(s)    Description    (Table C011)
  315.  7    systems boots with high CPU speed
  316.  6    memory test above 1MB enabled
  317.  5    memory test tick sound enabled
  318.  4    floppy drive seek at boot enabled
  319.  3    "Hit <Del>" message enabled
  320.  2    BIOS extended RAM area takes 1K at top of memory instead of 30h:0000h
  321.  1    wait for F1 key on error
  322.  0    NumLock enabled at boot
  323. ----------R11--------------------------------
  324. CMOS 11h - AWARD - CONFIGURATION BITS
  325.  
  326. Bitfields for AWARD configuration bits:
  327. Bit(s)    Description    (Table C012)
  328.  7    NumLock ON at reboot
  329.  6    IDE Block Mode enabled
  330.  5    ???
  331.  4    Shadow ROM BIOS at CC00-CFFF
  332.  3    Shadow ROM BIOS at C800-CBFF
  333.  2    ???
  334.  1    BIOS Password Enabled
  335.  0    0 = Password controls BIOS Setup Only
  336.     1 = Password required to enter System
  337. ----------R11--------------------------------
  338. CMOS 11h - Quadtel HT12 BIOS 03.05.03 - CONFIGURATION BITS
  339.  
  340. Bitfields for Quadtel HT12 configuration bits:
  341. Bit(s)    Description    (Table C013)
  342.  7    640K RAM present
  343.  6    extension type (=CPU's Machine Status Word)
  344.  3-2    NumLock state at boot time
  345.     00 Auto
  346.     01 NumLock on
  347.     10 Numlock off
  348.  0    384K RAM relocated to top of memory
  349. ----------R12--------------------------------
  350. CMOS 12h - IBM - HARD DISK DATA
  351. Notes:    A PC with a single type 2 (20 Mb ST-225) hard disk will have 20h in
  352.       byte 12h
  353.     some PCs utilizing external disk controller ROMs will use type 0 to
  354.       disable ROM BIOS (e.g. Zenith 248 with Plus HardCard).
  355.  
  356. Bitfields for IBM hard disk data:
  357. Bit(s)    Description    (Table C014)
  358.  7-4    First Hard Disk Drive
  359.     00    No drive
  360.     01-0Eh    Hard drive Type 1-14
  361.     0Fh    Hard Disk Type 16-255
  362.         (actual Hard Drive Type is in CMOS RAM 19h)
  363.  3-0    Second Hard Disk Drive Type
  364.     (same as first except extrnded type will be found in 1Ah).
  365. ----------R12--------------------------------
  366. CMOS 12h - IBM PS/2 - SECOND FIXED DISK DRIVE TYPE (00-FFh)
  367. SeeAlso: CMOS 11h"IBM PS/2"
  368. ----------R13--------------------------------
  369. CMOS 13h - AMI Hi-Flex BIOS - ADVANCED SETUP OPTIONS
  370. SeeAlso: CMOS 11h"WinBIOS"
  371.  
  372. Bitfields for AMI Hi-Flex BIOS advanced setup options:
  373. Bit(s)    Description    (Table C015)
  374.  7    Mouse Enabled (1 = On)
  375.  6    Test Memory above 1 MB (1 = On)
  376.  5    Memory Test Tick Sound (1 = On)
  377.  4    Memory Parity Error Check (1 = On)
  378.  3    Press <Esc> to Disable Memory Test (1 = On)
  379.  2    User-Defined Hard Disk (1 = Type 47 data area at address 0:300h)
  380.  1    Wait for <F1> Message if Error (1 = On)
  381.  0    Turn Num Lock On at boot (1 = On)
  382. ----------R13--------------------------------
  383. CMOS 13h - AMI WinBIOS - PERIPHERAL OPTIONS
  384.  
  385. Bitfields for AMI WinBIOS peripheral options:
  386. Bit(s)    Description    (Table C016)
  387.  7-5    typematic rate
  388.     000-111 = 6,8,10,12,15,20,24,30 cps
  389.  4    numeric processor test enabled
  390. ----------R13--------------------------------
  391. CMOS 13h - PS/2 MCA - INTERNAL POST OPERATIONS
  392.  
  393. Bitfields for PS/2 MCA internal POST operations:
  394. Bit(s)    Description    (Table C017)
  395.  7    POST sets VGA pel information
  396.  6    RTC battery OK
  397.  5    invoke ROM BASIC from POST
  398.  4    POST sets typematic to 30cps/250ms delay instead of 10.9cps/500ms
  399.  3-2    unused or unknown
  400.  1    network password installed
  401.  0    power-on password installed
  402. ----------R13--------------------------------
  403. CMOS 13h - AWARD - Configuration Bits
  404.  
  405. Bitfields for AWARD configuration bits:
  406. Bit(s)    Description    (Table C018)
  407.  7    set keyboard typematic rate
  408.  4-6    keyboard repeat rate
  409.     000 =  6 cps
  410.     001 =  8 cps
  411.     010 = 10 cps
  412.     011 = 12 cps
  413.     100 = 15 cps
  414.     101 = 20 cps
  415.     110 = 24 cps
  416.     111 = 30 cps
  417.  2-3    keyboard typematic delay
  418.     00 =  250 Msec
  419.     01 =  500 Msec
  420.     10 =  750 Msec
  421.     11 = 1000 Msec
  422.  1    ???
  423.  0    boot up floppy seek
  424. ----------R14--------------------------------
  425. CMOS 14h - IBM - EQUIPMENT BYTE 
  426.  
  427. Bitfields for IBM equipment byte:
  428. Bit(s)    Description    (Table C019)
  429.  7-6    number of floppy drives (system must have at least one)
  430.     00b   1 Drive
  431.     01b   2 Drives
  432.     10b ??? 3 Drives
  433.     11b ??? 4 Drives
  434.  5-4    monitor type
  435.     00b Not CGA or MDA (observed for EGA & VGA)
  436.     01b 40x25 CGA
  437.     10b 80x25 CGA
  438.     11b MDA (Monochrome)
  439.  3    display enabled (turned off to enable boot of rackmount)
  440.  2    keyboard enabled (turn off to enable boot of rackmount)
  441.  1    math coprocessor installed
  442.  0    floppy drive installed (turned off for rackmount boot)
  443. ----------R14--------------------------------
  444. CMOS 14h - AMSTRAD - BYTE user RAM checksum
  445. Desc:    LSB of sum of all user bytes should be AAh
  446. ----------R15--------------------------------
  447. CMOS 15h - IBM - BASE MEMORY IN KB (low byte)
  448. ----------R15--------------------------------
  449. CMOS 15h - AMSTRAD - WORD Enter key scancode/ASCII code
  450. Note:    default: 1C0Dh    - emulates Return key
  451. ----------R16--------------------------------
  452. CMOS 16h - IBM - BASE MEMORY IN KB (high byte)
  453. Note:    The value in 15h-16h should be the same as in 0:413h and that
  454.       returned by INT 12h. A PC having 640k (280h) of conventional
  455.       memory will return 80h in byte 15h and 02h in byte 16h.
  456. ----------R17--------------------------------
  457. CMOS 17h - IBM - EXTENDED MEMORY IN KB (low byte)
  458. ----------R17--------------------------------
  459. CMOS 17h - AMSTRAD - WORD Forward delete key scancode/ASCII code
  460. Note:    default: 2207h    - emulates ^G (bell/beep)
  461. ----------R18--------------------------------
  462. CMOS 18h - IBM - EXTENDED MEMORY IN KB (high byte)
  463. Notes:    some systems will only accommodate 15 MB extended (16 MB total)
  464.     Format is the same as in 15h-16h
  465. ----------R19--------------------------------
  466. CMOS 19h - IBM - FIRST EXTENDED HARD DISK DRIVE TYPE
  467. Note:    not in original AT specification but now nearly universally used
  468.       except for PS/2.
  469.  
  470. (Table C020)
  471. Values for extended hard disk drive type:
  472.   00-0Fh unused (would not require extension. Note: this has the effect of
  473.       making type 0Fh (15d) unavailable.
  474.   10h-FFh First Extended Hard Drive Type 16d-255d
  475. Note: For most manufacturers the last drive type (typically either 47d or 49d)
  476.     is "user defined" and parameters are stored elsewhere in the CMOS.
  477. ----------R19--------------------------------
  478. CMOS 19h - MCA - SLOT 0 ADAPTER CARD ID
  479. ----------R19--------------------------------
  480. CMOS 19h - AMI - ???
  481.  
  482. Bitfields for AMI location 19h:
  483. Bit(s)    Description    (Table C021)
  484.  3-0    ???
  485.  7-4    ???
  486. ----------R191A------------------------------
  487. CMOS 19h-1Ah - AMSTRAD - Joystick fire button 1 scancode/ASCII code
  488. Note:    default: FFFFh    - (no translation)
  489. ----------R1A--------------------------------
  490. CMOS 1Ah - SECOND EXTENDED HARD DISK DRIVE TYPE
  491. SeeAlso: CMOS 19h"IBM",#C020
  492. ----------R1A--------------------------------
  493. CMOS 1Ah - MCA - SLOT 0 ADAPTER CARD ID
  494. ----------R1B--------------------------------
  495. CMOS 1Bh - MCA - SLOT 1 ADAPTER CARD ID
  496. ----------R1B--------------------------------
  497. CMOS 1Bh - AMI - First Hard Disk (type 47) user defined: # of Cylinders, LSB
  498. ----------R1B1C------------------------------
  499. CMOS 1Bh-1Ch - AMSTRAD - Joystick fire button 2 scancode/ASCII code
  500. Note:    default: FFFFh    - (no translation)
  501. ----------R1B--------------------------------
  502. CMOS 1Bh - PHOENIX - LSB of Word to 82335 RC1 roll compare register
  503. ----------R1B--------------------------------
  504. CMOS 1Bh - AWARD - CONFIGURATION BITS
  505.  
  506. Bitfields for AWARD shadow RAM configuration bits:
  507. Bit(s)    Description    (Table C022)
  508.  7-4    ???
  509.  3    Shadow ROM BIOS at DC00-DFFF
  510.  2    shadow        "     "   " D800-DBFF
  511.  1    shadow        "     "   " D400-D7FF
  512.  0    shadow        "     "   " D000-D3FF
  513. ----------R1C--------------------------------
  514. CMOS 1Ch - MCA - SLOT 1 ADAPTER CARD ID
  515. ----------R1C--------------------------------
  516. CMOS 1Ch - AMI - First Hard Disk user defined: # of Cylinders, High Byte
  517. ----------R1C--------------------------------
  518. CMOS 1Ch - PHOENIX - MSB of Word to 82335 RC1 roll compare register
  519. ----------R1C--------------------------------
  520. CMOS 1Ch,1Dh - AWARD - Password
  521. Note:    Stored as a checksum or CRC using unknown algorithm.  (See byte 11h 
  522.       to enable)
  523. ----------R1D--------------------------------
  524. CMOS 1Dh - MCA - SLOT 2 ADAPTER CARD ID
  525. ----------R1D--------------------------------
  526. CMOS 1Dh - AMI - First Hard Disk user defined: Number of Heads
  527. ----------R1D--------------------------------
  528. CMOS 1Dh - AMSTRAD - WORD mouse button 1 scancode/ASCII code
  529. Note:    default: FFFFh    - (no translation)
  530. ----------R1D--------------------------------
  531. CMOS 1Dh - Zenith Z-200 monitor - BOOT DRIVE SELECTION
  532.  
  533. Bitfields for Zenith Z-200 boot drive selection:
  534. Bit(s)    Description    (Table C023)
  535.  6-5    (0xx0 0000)
  536.     00 - MFM Monitor
  537.     01 - First floppy drive (A:)
  538.     10 - First fixed disk (C:)
  539.     11 - First floppy drive (A:). If not there then First fixed disk (C:)
  540.         (this is the default).
  541. ----------R1D--------------------------------
  542. CMOS 1Dh - PHOENIX - LSB of Word to 82335 RC2 roll compare register
  543. ----------R1D--------------------------------
  544. CMOS 1Dh - AWARD - MSB of password checksum (see byte 1Ch)
  545. ----------R1D--------------------------------
  546. CMOS 1Dh - Quadtel HT 12 BIOS - first user def. drive: # of cylinders low byte
  547. ----------R1E--------------------------------
  548. CMOS 1Eh - MCA - SLOT 2 ADAPTER CARD ID
  549. ----------R1E--------------------------------
  550. CMOS 1Eh - AMI - First Hard Disk user defined: WPC-low
  551. Desc:    Write Precompensation Cylinder, Low Byte, for first user-defined hard
  552.       disk
  553. ----------R1E--------------------------------
  554. CMOS 1Eh - PHOENIX - MSB of Word to 82335 RC2 roll compare register
  555. ----------R1E--------------------------------
  556. CMOS 1Eh - AWARD - 2nd Hard Disk user defined: # of Cylinders Low Byte
  557. ----------R1E--------------------------------
  558. CMOS 1Eh - Quadtel HT 12 BIOS - FIRST USER DEFINED DRIVE
  559.  
  560. Bitfields for Quadtel HT-12 user-defined drive heads/cylinders:
  561. Bit(s)    Description    (Table C024)
  562.  7-4    number of heads
  563.  3-0    number of cylinders (MSB)
  564. ----------R1F--------------------------------
  565. CMOS 1Fh - MCA - SLOT 3 ADAPTER CARD ID
  566. ----------R1F--------------------------------
  567. CMOS 1Fh - AMI - First Hard Disk user defined: WPC-high
  568. Desc:    Write Precompensation Cylinder, high byte, for first user-defined
  569.       hard disk
  570. ----------R1F--------------------------------
  571. CMOS 1Fh - AMSTRAD - WORD mouse button 2 scancode/ASCII code
  572. Note:    default: FFFFh    - (no translation)
  573. ----------R1F--------------------------------
  574. CMOS 1Fh - AWARD - 2nd Hard Disk user defined (type 48): # of Cylinders High
  575. ----------R1F--------------------------------
  576. CMOS 1Fh - Quadtel HT 12 BIOS - first user def. drive: WPC-low
  577. Desc:    Write Precompensation Cylinder, low byte, for first user-defined
  578.       hard disk
  579. ----------R20--------------------------------
  580. CMOS 20h - MCA - SLOT 3 ADAPTER CARD ID
  581. ----------R20--------------------------------
  582. CMOS 20h - AMI - First Hard Disk user defined: Control Byte
  583.  
  584. Bitfields for AMI user-defined hard disk control byte:
  585. Bit(s)    Description    (Table C025)
  586.  7-6    no retries (1)
  587.  5    bad sector map at last cylinder+1
  588.  4    unused (0)
  589.  3    more than 8 heads
  590.  2-0    unused (0)
  591. ----------R20--------------------------------
  592. CMOS 20h - AMI WinBIOS - First Hard Disk user defined: Landing Zone, Low Byte
  593. ----------R20--------------------------------
  594. CMOS 20h - PHOENIX - First user defined hard disk (type 48) Cylinders LSB
  595. ----------R20--------------------------------
  596. CMOS 20h - AWARD - 2nd Hard Disk user defined (type 48): Number of Heads
  597. ----------R20--------------------------------
  598. CMOS 20h - Quadtel HT 12 BIOS - FIRST USER DEFINED DRIVE
  599. SeeAlso: CMOS 26h"Quadtel"
  600.  
  601. Bitfields for Quadtel landing zone/write-precompensation:
  602. Bit(s)    Description    (Table C026)
  603.  7-4    landing zone MSB
  604.  3-0    write precom. cyl. MSB
  605. ----------R21--------------------------------
  606. CMOS 21h - MCA - Programmable Option Select configuration byte 2
  607. ----------R21--------------------------------
  608. CMOS 21h - AMI - First Hard Disk user defined: Landing Zone, Low Byte
  609. ----------R21--------------------------------
  610. CMOS 21h - AMI WinBIOS - First Hard Disk user defined: Landing Zone, High Byte
  611. ----------R21--------------------------------
  612. CMOS 21h - AMSTRAD - MOUSE X SCALING FACTOR
  613. Note:    default: 0Ah
  614. ----------R21--------------------------------
  615. CMOS 21h - PHOENIX - First user defined hard disk (type 48) Cylinders MSB
  616. ----------R21--------------------------------
  617. CMOS 21h - AWARD - 2nd Hard Disk user defined (type 48): Write Precomp Low Byte
  618. ----------R21--------------------------------
  619. CMOS 21h - Quadtel HT 12 BIOS - first user def. drive: landing zone low byte
  620. ----------R22--------------------------------
  621. CMOS 22h - MCA - Programmable Option Select configuration byte 3
  622. ----------R22--------------------------------
  623. CMOS 22h - AMI - First Hard Disk user defined: Landing Zone, High Byte
  624. ----------R22--------------------------------
  625. CMOS 22h - AMI WinBIOS - First Hard Disk user defined: # of Sectors per track
  626. ----------R22--------------------------------
  627. CMOS 22h - AMSTRAD - MOUSE Y SCALING FACTOR
  628. Note:    default: 0Ah
  629. ----------R22--------------------------------
  630. CMOS 22h - PHOENIX - First user defined hard disk (type 48)     of Heads
  631. ----------R22--------------------------------
  632. CMOS 22h - AWARD - 2nd Hard Disk user defined (type 48): Write Precomp High Byte
  633. ----------R22--------------------------------
  634. CMOS 22h - Quadtel HT 12 BIOS - first user def. drive: sectors per track
  635. ----------R23--------------------------------
  636. CMOS 23h - MCA - Programmable Option Select configuration byte 4
  637. ----------R23--------------------------------
  638. CMOS 23h - AMI - First Hard Disk user defined: # of Sectors per track
  639. ----------R23--------------------------------
  640. CMOS 23h - AMI WinBIOS - Second Hard Disk user defined: # Cylinders, Low Byte
  641. ----------R23--------------------------------
  642. CMOS 23h - AMSTRAD - INITIAL VDU MODE AND DRIVE COUNT
  643. Note:    default: 20h
  644.  
  645. Bitfields for Amstrad initial VDU mode/drive count:
  646. Bit(s)    Description    (Table C027)
  647.  7    enables extended serial flow control (NB this is buggy)
  648.  6    set if two floppy drives installed
  649.  5-4    (from Amstrad 1640 tech ref)
  650.     00    Internal video adapter
  651.     01    CGA card added; 40 x 25 mode
  652.     10    CGA card added; 80 x 25 mode
  653.     11    mono card added; 80 x 25 mode
  654. ----------R23--------------------------------
  655. CMOS 23h - PHOENIX - First user defined hard disk (type 48) Write Precomp. LSB
  656. ----------R23--------------------------------
  657. CMOS 23h - AWARD - 2nd Hard Disk user defined (type 48): Landing Zone Low Byte
  658. ----------R23--------------------------------
  659. CMOS 23h - Quadtel HT 12 BIOS - second user def. drive: # of cylinders low byte
  660. ----------R24--------------------------------
  661. CMOS 24h - MCA - Programmable Option Select configuration byte 5
  662. ----------R24--------------------------------
  663. CMOS 24h - AMI - Second Hard Disk user defined: # Cylinders, Low Byte
  664. ----------R24--------------------------------
  665. CMOS 24h - AMI WinBIOS - Second Hard Disk user defined: # Cylinders, High Byte
  666. ----------R24--------------------------------
  667. CMOS 24h - AMSTRAD - INITIAL VDU CHARACTER ATTRIBUTE
  668. Note: default: 7h
  669. ----------R24--------------------------------
  670. CMOS 24h - PHOENIX - First user defined hard disk (type 48) Write Precomp. MSB
  671. ----------R24--------------------------------
  672. CMOS 24h - AWARD - 2nd Hard Disk user defined (type 48): Landing Zone High Byte
  673. ----------R24--------------------------------
  674. CMOS 24h - Quadtel HT 12 BIOS - SECOND USER DEFINED DRIVE
  675. SeeAlso: CMOS 1Eh"Quadtel",#C024
  676. ----------R25--------------------------------
  677. CMOS 25h - AMI - Second Hard Disk user defined: # of Cylinders, High Byte
  678. ----------R25--------------------------------
  679. CMOS 25h - AMI WinBIOS - Second Hard Disk user defined: Number of Heads
  680. ----------R25--------------------------------
  681. CMOS 25h - AMSTRAD - size of RAM disk in 2K blocks
  682. Note:    default: 0  - only used by the RAMDISK software supplied.
  683. ----------R25--------------------------------
  684. CMOS 25h - PHOENIX - First user defined hard disk (type 48) Parking zone LSB
  685. ----------R25--------------------------------
  686. CMOS 25h - AWARD - 2nd Hard Disk user defined (type 48): Sectors per Track
  687. ----------R25--------------------------------
  688. CMOS 25h - Quadtel HT 12 BIOS - second user def. drive: WPC-low
  689. Desc:    Write Precompensation Cylinder, low byte
  690. ----------R26--------------------------------
  691. CMOS 26h - AMI - Second Hard Disk user defined: Number of Heads
  692. ----------R26--------------------------------
  693. CMOS 26h - AMI WinBIOS - Second Hard Disk user defined: WPC-low
  694. Desc:    Write Precompensation Cylinder, Low Byte
  695. ----------R26--------------------------------
  696. CMOS 26h - AMSTRAD - INITIAL SYSTEM UART SETUP BYTE
  697. Note:    default: E3h - format as for Int 14h fn 0
  698. ----------R26--------------------------------
  699. CMOS 26h - PHOENIX - First user defined hard disk (type 48) Parking zone MSB
  700. ----------R26--------------------------------
  701. CMOS 26h - AWARD - 1st Hard Disk user defined (type 49): # Cylinders, Low Byte
  702. ----------R26--------------------------------
  703. CMOS 26h - Quadtel HT 12 BIOS - SECOND USER DEFINED DRIVE
  704. SeeAlso: CMOS 20h"Quadtel",#C026
  705. ----------R27--------------------------------
  706. CMOS 27h - AMI - Second Hard Disk user defined: WPC-low
  707. Desc:    Write Precompensation Cylinder, Low Byte
  708. ----------R27--------------------------------
  709. CMOS 27h - AMI WinBIOS - Second Hard Disk user defined: WPC-high
  710. Desc:    Write Precompensation Cylinder, High Byte
  711. ----------R27--------------------------------
  712. CMOS 27h - AMSTRAD - INITIAL EXTERNAL UART SETUP BYTE
  713. Note:    default: E3h - format as for Int 14h fn 0
  714. ----------R27--------------------------------
  715. CMOS 27h - PHOENIX - First user defined hard disk (type 48) Sectors per track
  716. ----------R27--------------------------------
  717. CMOS 27h - AWARD - 1st Hard Disk user defined (type 49): # Cylinders, High Byte
  718. ----------R27--------------------------------
  719. CMOS 27h - Quadtel HT 12 BIOS - SECOND USER DEF. DRIVE: landing zone low byte
  720. ----------R28--------------------------------
  721. CMOS 28h - AMI - Second Hard Disk user defined: WPC-high
  722. Desc:    Write Precompensation Cylinder, High Byte
  723. ----------R28--------------------------------
  724. CMOS 28h - AMI WinBIOS - Second Hard Disk user defined: Landing Zone, Low Byte
  725. ----------R28--------------------------------
  726. CMOS 28h - HP Vectra - checksum over bytes 29h-2Dh
  727. ----------R28--------------------------------
  728. CMOS 28h - AWARD - 1st Hard Disk user defined (type 49): Number of Heads
  729. ----------R28--------------------------------
  730. CMOS 28h - Quadtel HT 12 BIOS - second user def. drive: sectors per track
  731. ----------R283F------------------------------
  732. CMOS 28h-3Fh - AMSTRAD - user applications default: zeroes
  733. ----------R29--------------------------------
  734. CMOS 29h - AMI - Second Hard Disk user defined: Control Byte
  735. Note:    80h if # of heads is equal or greater than 8
  736. ----------R29--------------------------------
  737. CMOS 29h - AMI WinBIOS - Second Hard Disk user defined: Landing Zone, High Byte
  738. ----------R29--------------------------------
  739. CMOS 29h - PHOENIX - LSB word to Intel 82335 CC0 compare register
  740. ----------R29--------------------------------
  741. CMOS 29h - AWARD - 1st Hard Disk user defined (type 49): Write Precomp Low Byte
  742. ----------R29--------------------------------
  743. CMOS 29h - HP Vectra - OFFICIALLY RESERVED "CMOS_HPCONFIG"
  744.  
  745. Bitfields for HP Vectra CMOS_HPCONFIG:
  746. Bit(s)    Description    (Table C028)
  747.  7    include byte 2Ch in checksum (default = 0)
  748.  6    select second ROM video adapter as primary (default = 0)
  749.  5-1    reserved
  750.  0    manufacturing test enabled
  751. ----------R2A--------------------------------
  752. CMOS 2Ah - AMI - Second Hard Disk user defined: Landing Zone, Low Byte
  753. ----------R2A--------------------------------
  754. CMOS 2Ah - AMI WinBIOS - Second Hard Disk user defined: # of Sectors per track
  755. ----------R2A--------------------------------
  756. CMOS 2Ah - HP Vectra - OFFICIALLY RESERVED
  757. ----------R2A--------------------------------
  758. CMOS 2Ah - PHOENIX - MSB word to Intel 82335 CC0 compare register
  759. ----------R2A--------------------------------
  760. CMOS 2Ah - AWARD - 1st Hard Disk user defined (type 49): Write Precomp High
  761. ----------R2B--------------------------------
  762. CMOS 2Bh - AMI - Second Hard Disk user defined: Landing Zone, High Byte
  763. ----------R2B--------------------------------
  764. CMOS 2Bh - AMI WinBIOS - IDE and shadowing control
  765.  
  766. Bitfields for AMI WinBIOS IDE/shadowing control:
  767. Bit(s)    Description    (Table C029)
  768.  7    LBA mode enabled
  769.  6    IDE block mode enabled
  770.  5    32-bit transfer enabled
  771.  4    unused
  772.  3    shadowing of DC00h enabled
  773.  2    shadowing of D800h enabled
  774.  1    shadowing of D400h enabled
  775.  0    shadowing of D000h enabled
  776. SeeAlso: #C030
  777. ----------R2B--------------------------------
  778. CMOS 2Bh - HP Vectra - OFFICIALLY RESERVED
  779. ----------R2B--------------------------------
  780. CMOS 2Bh - PHOENIX - LSB word to Intel 82335 CC1 compare register
  781. ----------R2B--------------------------------
  782. CMOS 2Bh - AWARD - 1st Hard Disk user defined (type 49): Landing Zone  Low Byte
  783. ----------R2C--------------------------------
  784. CMOS 2Ch - AMI - Second Hard Disk user defined: # of Sectors per track
  785. ----------R2C--------------------------------
  786. CMOS 2Ch - AMI WinBIOS - CACHE CONTROL
  787.  
  788. Bitfields for AMI WinBIOS cache control:
  789. Bit(s)    Description    (Table C030)
  790.  7    external RAM cache enabled
  791.  6    internal RAM cache enabled
  792.  5    shadowing of E000h enabled
  793.  4    shadowing of CC00h enabled
  794.  3    shadowing of C800h enabled
  795.  2    shadowing of C400h (video ROM) enabled
  796.  1    shadowing of C000h (video ROM) enabled
  797.  0    shadowing of system BIOS (F000h, 64K) enabled
  798. SeeAlso: #C029
  799. ----------R2C--------------------------------
  800. CMOS 2Ch - HP Vectra - OFFICIALLY RESERVED
  801. ----------R2C--------------------------------
  802. CMOS 2Ch - COMPAQ - NumLock CONTROL
  803.  
  804. Bitfields for Compaq NumLock control:
  805. Bit(s)    Description    (Table C031)
  806.  6    0 - numlock OFF on boot, 1 - numlock ON at boot
  807. ----------R2C--------------------------------
  808. CMOS 2Ch - PHOENIX - MSB word to Intel 82335 CC1 compare register
  809. ----------R2C--------------------------------
  810. CMOS 2Ch - AWARD - 1st Hard Disk user defined (type 49): Landing Zone High Byte
  811. ----------R2D--------------------------------
  812. CMOS 2Dh - AMI Hi-Flex BIOS - CONFIGURATION OPTIONS 
  813.  
  814. Bitfields for AMI Hi-Flex BIOS configuration options:
  815. Bit(s)    Description    (Table C032)
  816.  7    Weitek Installed
  817.  6    Floppy Drive Seek - turn off for fast boot
  818.  5    Boot Order
  819.     0 - Drive C:, then A:
  820.     1 - Drive A:, then C:
  821.  4    Boot Speed (0 - Low; 1 - High)
  822.  3    External Cache Enable (1 = On)
  823.  2    Internal Cache Enable (1 = On)
  824.  1    Use Fast Gate A20 after boot (1 = On)
  825.  0    Turbo Switch (1 = On)
  826. ----------R2D--------------------------------
  827. CMOS 2Dh - AMI WinBIOS - flags
  828.  
  829. Bitfields for AMI WinBIOS flags:
  830. Bit(s)    Description    (Table C033)
  831.  7    Weitek Installed
  832.  6    bootsector virus protection enabled
  833.  5    mouse enabled
  834.  4    password checking (0 setup, 1 always)
  835.  3    parity error check enabled
  836.  2-1    boot order (00 = C:A:, 01 = A:C:)
  837.  0    turbo switch enabled
  838. ----------R2D--------------------------------
  839. CMOS 2Dh - HP Vectra - OFFICIALLY RESERVED
  840. ----------R2D--------------------------------
  841. CMOS 2Dh - PHOENIX - ???
  842. Note:    checks for values AAh or CCh
  843. ----------R2D--------------------------------
  844. CMOS 2Dh - AWARD - 1st Hard Disk user defined (type 49): Sectors per Track
  845. ----------R2E--------------------------------
  846. CMOS 2Eh - IBM - Standard CMOS Checksum, High Byte
  847. ----------R2F--------------------------------
  848. CMOS 2Fh - IBM - Standard CMOS Checksum, Low Byte
  849.  
  850.  2Eh and 2Fh are as defined by the original IBM PC/AT specification and
  851.  represent a byte-wise additive sum of the values in locations 10h-2Dh only,
  852.  00h-0Fh and 30h-33h are not included. This definition is used by most
  853.  clone manufacturers including AMI, Compaq, Tandon, NEC, and Zenith. The 
  854.  IBM PS/2 line does not follow this standard with the range 19h-31h being 
  855.  undefined.  On the original HP Vectra, this checksum only covers locations
  856.  10h to 20h, with a separate checksum for bytes 29h-2Ch (see offset 28h).
  857.  
  858. ----------R30--------------------------------
  859. CMOS 30h - IBM - EXTENDED MEMORY IN KB (low byte)
  860. SeeAlso: CMOS 17h"IBM",CMOS 31h
  861. ----------R31--------------------------------
  862. CMOS 31h - IBM - EXTENDED MEMORY IN KB (high byte) 
  863.  (this appears to mirror the value in bytes 17h-18h.) 
  864. SeeAlso: CMOS 18h"IBM",CMOS 30h
  865. ----------R32--------------------------------
  866. CMOS 32h - IBM - CENTURY BYTE (BCD value for the century - currently 19h)
  867. ----------R32--------------------------------
  868. CMOS 32h - IBM PS2 - CONFIGURATION CRC LOW BYTE
  869. Desc:    CRC for range 10h-31h
  870. SeeAlso: CMOS 33h"PS/2"
  871. ----------R33--------------------------------
  872. CMOS 33h - IBM - INFORMATION FLAG
  873.  
  874. Bitfields for IBM information flag:
  875. Bit(s)    Description    (Table C034)
  876.  7    128K ??? believe this indicates the presence of the special 128k
  877.       memory expansion board for the AT to boost the "stock" 512k
  878.       to 640k - all machines surveyed have this bit set)
  879.  6-0    ???
  880. ----------R33--------------------------------
  881. CMOS 33h - IBM PS/2 - CONFIGURATION CRC HIGH BYTE (see entry for 32h)
  882. SeeAlso: CMOS 32h"PS/2"
  883. ----------R33--------------------------------
  884. CMOS 33h - PHOENIX - Bit 4 (000x 0000) bit 4 from Intel CPU register CR0
  885. ----------R33--------------------------------
  886. CMOS 33h - AMI WinBIOS - INFORMATION FLAGS
  887.  
  888. Bitfields for AMI WinBIOS information flags:
  889. Bit(s)    Description    (Table C035)
  890.  7    IBM-defined top 128K present
  891.  6-4    CPU internal clock frequency
  892.     000-011 = 25, 33, 40, 50 MHz
  893.     100 = 60/66 MHz
  894.     101 = 75 MHz
  895.     110 = 80 MHz
  896.     111 = 90/100 MHz
  897.  2-1    CPU internal clock multiplier
  898.     00-11 = 1,2,3,4
  899.  0    FlashROM programming enabled (Ctrl-Home pressed at power on)
  900.     Note: this location is not included in any CMOS checksum fields
  901. ----------R33--------------------------------
  902. CMOS 33h - Quadtel HT12 BIOS 03.05.03 - INFORMATION FLAGS
  903.  
  904. Bitfields for Quadtel HT12 information flags:
  905. Bit(s)    Description    (Table C036)
  906.  7    640K RAM present
  907.  6    extension type (=CPU's Machine Status Word)
  908.  1    print welcome message
  909. ----------R34--------------------------------
  910. CMOS 34h - AMI - SHADOWING & BOOT PASSWORD
  911. SeeAlso: CMOS 35h"AMI"
  912.  
  913. Bitfields for AMI shadowing control 1:
  914. Bit(s)    Description    (Table C037)
  915.  7-6    password selection
  916.     00b Disable
  917.     10b Reserved
  918.     01b Set
  919.     11b Boot
  920.  5    C8000h Shadow ROM (Bit 1 = On) 
  921.  4    CC000h Shadow ROM (Bit 1 = On)
  922.  3    D0000h Shadow ROM (Bit 1 = On)
  923.  2    D4000h Shadow ROM (Bit 1 = On)
  924.  1    D8000h Shadow ROM (Bit 1 = On)
  925.  0    DC000h Shadow ROM (Bit 1 = On)
  926. SeeAlso: #C038
  927. ----------R34--------------------------------
  928. CMOS 34h - AMI - EXTENDED MEMORY >16M (low byte)
  929. Note:    this and the following byte contain the total extended memory in 64K
  930.       blocks
  931. SeeAlso: CMOS 35h"AMI"
  932. ----------R34--------------------------------
  933. CMOS 34h - (AMI WinBIOS) system-specific information (bits 3-1)
  934. ----------R343A------------------------------
  935. CMOS 34h-3Ah - (AWARD) ??? unused ???  Defaults to all FFh's.
  936. ----------R35--------------------------------
  937. CMOS 35h - AMI - EXTENDED MEMORY >16M (high byte)
  938. Note:    this and the previous byte contain the total extended memory in 64K
  939.       blocks
  940. SeeAlso: CMOS 34h"AMI"
  941. ----------R35--------------------------------
  942. CMOS 35h - AMI - SHADOWING CONTROL 2
  943. SeeAlso: CMOS 34"AMI"
  944.  
  945. Bitfields for AMI shadowing control 2:
  946. Bit(s)    Description    (Table C038)
  947.  7    E0000h Shadow ROM (Bit 1 = On)
  948.  6    E4000h Shadow ROM (Bit 1 = On)
  949.  5    E8000h Shadow ROM (Bit 1 = On)
  950.  4    EC000h Shadow ROM (Bit 1 = On)
  951.  3    F0000h Shadow ROM (Bit 1 = On)
  952.  2    C0000h Shadow ROM (Bit 1 = On)
  953.  1    C4000h Shadow ROM (Bit 1 = On)
  954.  0    reserved
  955. SeeAlso: #C037
  956. ----------R35--------------------------------
  957. CMOS 35h - AMI WinBIOS - EXTENDED MEMORY SIZE IN 64K BLOCKS (low byte)
  958. SeeAlso: CMOS 36h"AMI WinBIOS"
  959. ----------R35--------------------------------
  960. CMOS 35h - PHOENIX - Second user defined hard disk (type 48) Cylinders LSB
  961. Note:    used only when PS/2 style password is NOT in effect
  962. ----------R35--------------------------------
  963. CMOS 35h - AMI 1990 Hyundai super-NB368S notebook
  964.  
  965. Bitfields for Hyundai configuration:
  966. Bit(s)    Description    (Table C039)
  967.  3-1    shadowing
  968.     000  shadow disabled
  969.     011  video BIOS shadowed
  970.     100  main BIOS shadowed
  971.     111  both
  972.  0    coprocessor enabled
  973. ----------R36--------------------------------
  974. CMOS 36h - PHOENIX - Second user defined hard disk (type 48) Cylinders MSB
  975. Note:    used only when PS/2 style password is NOT in effect.
  976. ----------R36--------------------------------
  977. CMOS 36h - AWARD - IDE control
  978.  
  979. Bitfields for AWARD IDE control:
  980. Bit(s)    Description    (Table C040)
  981.  6    IDE 32-bit transfer mode
  982. ----------R36--------------------------------
  983. CMOS 36h - AMI - ???
  984.  
  985. Bitfields for AMI ???:
  986. Bit(s)    Description    (Table C041)
  987.  1-0    ???
  988.  3-2    ???
  989. ----------R36--------------------------------
  990. CMOS 36h - AMI WinBIOS - EXTENDED MEMORY SIZE IN 64K BLOCKS (high byte)
  991. ----------R36--------------------------------
  992. CMOS 36h - AMI 1990 Hyundai super-NB368S notebook - CPU/VIDEO CONFIGURATION
  993.  
  994. Bitfields for Hyundai CPU/video control:
  995. Bit(s)    Description    (Table C042)
  996.  7    =1 LCD, 0 CRT at boot time
  997.  6    =1 reversed, 0 normal video mode
  998.  5    =1 external, 0 internal keyboard
  999.  4-3    CPU speed
  1000.     00  high
  1001.     01  medium
  1002.     10  low
  1003.  2-1    harddisk vendor 1,2,3,4
  1004.  0    relocation enabled
  1005. ----------R36--------------------------------
  1006. CMOS 36h - Quadtel HT12 BIOS 03.05.03 - EXTENDED MEMORY (low byte)
  1007. ----------R37--------------------------------
  1008. CMOS 37h - IBM PS/2 - DATE CENTURY BYTE 
  1009. ----------R37--------------------------------
  1010. CMOS 37h - PHOENIX - Second user defined hard disk (type 48) # of heads
  1011.        NOTE: used only when PS/2 style password is NOT in effect.
  1012. ----------R37--------------------------------
  1013. CMOS 37h - AMI Hi-Flex BIOS - ???
  1014.  
  1015. Bitfields for AMI Hi-Flex BIOS location 37h:
  1016. Bit(s)    Description    (Table C043)
  1017.  7    ???
  1018. ----------R37--------------------------------
  1019. CMOS 37h - AMI WinBIOS - SETUP COLORS, PASSWORD SEED
  1020.  
  1021. Bitfields for AMI WinBIOS setup colors and password seed:
  1022. Bit(s)    Description    (Table C044)
  1023.  7-4    password seed
  1024.  3-0    WinBIOS/AMIBIOS setup color options
  1025. ----------R37--------------------------------
  1026. CMOS 37h - Quadtel HT12 BIOS 03.05.03 - EXTENDED MEMORY (high byte)
  1027. ----------R373A------------------------------
  1028. CMOS 37h-3Ah - AMI 1990 Hyundai super-NB368S notebook - PASSWORD
  1029. Desc:    encoded password, max 4 bytes.
  1030. ----------R38--------------------------------
  1031. CMOS 38h - PHOENIX - Second user defined hard disk (type 48) Write Precomp. LSB
  1032. Note:    used only when PS/2 style password is NOT in effect.
  1033. ----------R383D------------------------------
  1034. CMOS 38h-3Dh - AMI - Encrypted Password
  1035. ----------R383F------------------------------
  1036. CMOS 38h-3Fh - ??? IBM PS/2 - Encrypted Password
  1037. Note:    Initialized to 00h in all bytes. Will accept from 1-7 scan codes. 
  1038. ----------R39--------------------------------
  1039. CMOS 39h - PHOENIX - Second user defined hard disk (type 48) Write Precomp. MSB
  1040. Note:    used only when PS/2 style password is NOT in effect.
  1041. ----------R3A--------------------------------
  1042. CMOS 3Ah - PHOENIX - Second user defined hard disk (type 48) Parking Zone LSB
  1043. Note:    used only when PS/2 style password is NOT in effect.
  1044. ----------R3B--------------------------------
  1045. CMOS 3Bh - PHOENIX - Second user defined hard disk (type 48) Parking Zone MSB
  1046. Note:    used only when PS/2 style password is NOT in effect.
  1047. ----------R3B--------------------------------
  1048. CMOS 3Bh - AWARD - CONFIGURATION BITS
  1049.  
  1050. Bitfields for AWARD configuration bits:
  1051. Bit(s)    Description    (Table C045)
  1052.  4-7    Screen Colors Used in Setup (see #C046)
  1053.  3    ??? Default = 0
  1054.  2    ??? Default = 0
  1055.  1    ??? Default = 1
  1056.  0    Enable External Cache
  1057.  
  1058. (Table C046)
  1059. Values for AWARD setup colors:
  1060.  0000  Yellow/White on Blue (Default)
  1061.  0001  Magenta/White on Blue
  1062.  0010  Yellow/Black on Green
  1063.  0011  Yellow/Green on Cyan
  1064.  0100  Black/Yellow on Cyan
  1065.  0101  Brown/White on Cyan
  1066.  0110  White/Green on Red
  1067.  0111  White/White on Red
  1068.  1000  Green/White on Magenta
  1069.  1001  Yellow/Red on Magenta
  1070.  1010  Red/White on Grey
  1071.  1011  Yellow/White on Grey
  1072.  1100  Cyan/White on Grey
  1073.  1101  Cyan/Yellow on Black
  1074.  1110  White on Black (Monochrome)
  1075.  1111  Green/Red on Black
  1076. SeeAlso: #C045
  1077. ----------R3C--------------------------------
  1078. CMOS 3Ch - PHOENIX - Second user defined hard disk (type 48) Sectors per track
  1079. Note:    used only when PS/2 style password is NOT in effect.
  1080. ----------R3C--------------------------------
  1081. CMOS 3Ch - AWARD - Boot Configuration Bits
  1082.  
  1083. Bitfields for AWARD boot configuration bits:
  1084. Bit(s)    Description    (Table C047)
  1085.  7    disable virus warning on boot
  1086.  6,5    ???
  1087.  4    Quick POST Enabled
  1088.  3,2    ???
  1089.  1    Enable Turbo Switch Input
  1090.  0    0 = Boot from A, then C
  1091.     1 = Boot from C, then A
  1092. ----------R3C--------------------------------
  1093. CMOS 3Ch - Quadtel HT12 BIOS 03.05.03 - TOTAL MEMORY (low byte)
  1094. SeeAlso: CMOS 3Dh"Quadtel"
  1095. ----------R3D--------------------------------
  1096. CMOS 3Dh - AWARD - ???
  1097. ----------R3D--------------------------------
  1098. CMOS 3Dh - Phoenix - ???
  1099. Note:    bit 3 = base memsize 512K/640K
  1100. ----------R3D--------------------------------
  1101. CMOS 3Dh - Quadtel HT12 BIOS 03.05.03 - TOTAL MEMORY (high byte)
  1102. SeeAlso: CMOS 3Ch"Quadtel"
  1103. ----------R3E--------------------------------
  1104. CMOS 3Eh - AMI - Extended CMOS Checksum, High Byte
  1105. Note:    this checksum covers locations 34h - 3Dh, but is not used by some
  1106.       later AMI BIOSes
  1107. ----------R3E--------------------------------
  1108. CMOS 3Eh - AWARD - BOOT CONFIGURATION BITS
  1109.  
  1110. Bitfields for AWARD boot configuration bits:
  1111. Bit(s)    Description    (Table C048)
  1112.  7    Shadow Video BIOS at C000h
  1113.  6,5    ???
  1114.  4    Swap Floppy Drive
  1115.  3    ???
  1116.  2    Don't Halt on Diskette Errors at Boot
  1117.  1    Don't Halt on Keyboard Errors at Boot
  1118.  0    Never Halt for any error at Boot
  1119. ----------R3E--------------------------------
  1120. CMOS 3Eh - Quadtel HT12 BIOS 03.05.03 - ???
  1121.  
  1122. Bitfields for Quadtel ???:
  1123. Bit(s)    Description    (Table C049)
  1124.  2    system error occurred ?? (timer/RTC)
  1125.  0    =0 extended system configuration loaded
  1126.     =1 checksum error
  1127. ----------R3E--------------------------------
  1128. CMOS 3Eh - Phoenix - SHADOWING CONTROL
  1129.  
  1130. Bitfields for Phoenix shadowing control:
  1131. Bit(s)    Description    (Table C050)
  1132.  7    relocate enable
  1133.  1    shadow video enable
  1134.  0    shadow BIOS enable
  1135. ----------R3F--------------------------------
  1136. CMOS 3Fh - AMI - Extended CMOS Checksum, Low Byte
  1137. Note:    this checksum covers locations 34h - 3Dh, but is not used by some
  1138.       later AMI BIOSes
  1139. ----------R3F--------------------------------
  1140. CMOS 3Fh - AWARD - ???
  1141. ---------------------------------------------
  1142.  
  1143.  End of original 64 CMOS RAM bytes. Many modern chips now contain 128
  1144.  bytes and the IBM PS/2 has provision for 2k of "Expansion CMOS". 
  1145.  The AMI HI-FLEX description is below. If the chip does have only
  1146.  64 bytes, addresses will wrap so that requests for bytes 40h-7Fh will 
  1147.  return the same values as 00h-3Fh.
  1148.  
  1149. ----------R40--------------------------------
  1150. CMOS 40h - AMI 1990 Hyundai super-NB368S notebook - POWER-SAVE CONFIGURATION
  1151.  
  1152. Bitfields for Hyundai power-save configuration:
  1153. Bit(s)    Description    (Table C051)
  1154.  7    power save enabled
  1155.  6-0    HD power save wait, units of 1 minute (0-20)
  1156. ----------R40--------------------------------
  1157. CMOS 40h - AWARD - Motherboard Chipset (SiS 85C501/85C502 shown)
  1158.  
  1159. Bitfields for AWARD motherboard chipset:
  1160. Bit(s)    Description    (Table C052)
  1161.  7-1    ???
  1162.  0    Automatic Configuration Enabled (Default: 1=enabled)
  1163. ----------R4055------------------------------
  1164. CMOS 40h-55h - AMI WinBIOS - PCI BIOS setup data
  1165. ----------R41--------------------------------
  1166. CMOS 41h - AMI - WAIT STATE CONFIGURATION
  1167.  
  1168. Bitfields for AMI wait state configuration:
  1169. Bit(s)    Description    (Table C053)
  1170.  7-6    IOR/IOW Wait states
  1171.  5-4    16-bit DMA Wait States
  1172.  3-2    8-bit DMA Wait States
  1173.  1    EMR bit
  1174.  0    DMA Clock Source
  1175. ----------R4243------------------------------
  1176. CMOS 42h-43h - ???
  1177. ----------R4244------------------------------
  1178. CMOS 42h-44h - AWARD - ??? chipset setup ???
  1179. ----------R44--------------------------------
  1180. CMOS 44h - AMI - NMI CONTROL
  1181.  
  1182. Bitfields for AMI NMI control:
  1183. Bit(s)    Description    (Table C054)
  1184.  4    NMI Power Fail Warning
  1185.  3    NMI Local Bus Timeout
  1186. ----------R45--------------------------------
  1187. CMOS 45h - AMI - BUS DELAYS
  1188.  
  1189. Bitfields for AMI bus delays:
  1190. Bit(s)    Description    (Table C055)
  1191.  7-6    AT Bus 32-Bit Delay
  1192.  5-4    AT Bus 16-Bit Delay
  1193.  3-2    AT Bus 8-Bit Delay
  1194.  1-0    AT Bus I/O Delay
  1195. SeeAlso: #C058
  1196. ----------R45--------------------------------
  1197. CMOS 45h - AMI (Saturn) - CACHE TAGS
  1198. SeeAlso: CMOS 46h"Saturn"
  1199.  
  1200. Bitfields for AMI (Saturn) cache tags:
  1201. Bit(s)    Description    (Table C056)
  1202.  7    base memory 640K instead of 512K
  1203.  4-3    external cache tag width
  1204.     00 8 bits
  1205.     01 9 bits
  1206.     10 7 bits
  1207.     11 7 bits
  1208. ----------R45--------------------------------
  1209. CMOS 45h - AWARD - Motherboard Chipset (SiS 85C501/85C502 shown)
  1210.  
  1211. Bitfields for AWARD motherboard chipset:
  1212. Bit(s)    Description    (Table C057)
  1213.  7    System BIOS Cacheable (Default: 1=enabled)
  1214.  6    Video BIOS Cacheable  (Default: 1=enabled)
  1215.  5-0    ???
  1216. ----------R46--------------------------------
  1217. CMOS 46h - AMI - BUS WAIT STATES
  1218.  
  1219. Bitfields for AMI bus wait states:
  1220. Bit(s)    Description    (Table C058)
  1221.  7-6    AT Bus 32 Bit Wait States
  1222.  5-4    AT Bus 16 Bit Wait States
  1223.  3-2    AT Bus    8 Bit Wait States
  1224.  1-0    AT Bus Clock Source
  1225. SeeAlso: #C055
  1226. ----------R46--------------------------------
  1227. CMOS 46h - AMI (Saturn) - SHADOW RAM CONTROL 1
  1228.  
  1229. Bitfields for AMI (Saturn) shadow RAM control 1:
  1230. Bit(s)    Description    (Table C059)
  1231.  7-6    D000h-D3FFh shadow RAM
  1232.     00 don't shadow
  1233.     01 absent
  1234.     10 shadow
  1235.     11 reserved
  1236.  5-4    CC00h-CFFFh shadow RAM (as for D000h-D3FFh)
  1237.  3-2    C800h-CBFFh shadow RAM (as for D000h-D3FFh)
  1238.  1-0    C000h-C7FFh shadow RAM (as for D000h-D3FFh)
  1239. SeeAlso: #C060
  1240. ----------R4647------------------------------
  1241. CMOS 46h-47h - AWARD - ??? chipset setup ???
  1242. ----------R47--------------------------------
  1243. CMOS 47h - AMI (Saturn) - SHADOW RAM CONTROL 2
  1244.  
  1245. Bitfields for AMI (Saturn) shadow RAM control 2:
  1246. Bit(s)    Description    (Table C060)
  1247.  7-6    DC00h-DFFFh shadow RAM
  1248.     00 don't shadow
  1249.     01 absent
  1250.     10 shadow
  1251.     11 reserved
  1252.  5-4    D800h-DBFFh shadow RAM (as for DC00h-DFFFh)
  1253.  3-2    D400h-D7FFh shadow RAM (as for DC00h-DFFFh)
  1254.  0    PCI VGA palette snooping 
  1255. SeeAlso: #C059
  1256. ----------R4750------------------------------
  1257. CMOS 47h-50h - ???
  1258. ----------R484F------------------------------
  1259. CMOS 48h-4Fh - AWARD - ??? unused ???  Defaults to all FFh's.
  1260. ----------R48--------------------------------
  1261. CMOS 48h - AMI (Saturn) - EXTERNAL CACHE
  1262.  
  1263. Bitfields for AMI (Saturn) external cache:
  1264. Bit(s)    Description    (Table C061)
  1265.  5    external cache write-back instead of write-through
  1266. ----------R49--------------------------------
  1267. CMOS 49h - AMI (Saturn) - PERFORMANCE
  1268.  
  1269. Bitfields for AMI (Saturn) performance:
  1270. Bit(s)    Description    (Table C062)
  1271.  1    DRAM enhanced performance mode
  1272.  0    ISA/DMA enhanced performance mode
  1273. SeeAlso: #C063
  1274. ----------R4A--------------------------------
  1275. CMOS 4Ah - AMI (Saturn) - BUS CONFIGURATION
  1276.  
  1277. Bitfields for AMI (Saturn) bus configuration:
  1278. Bit(s)    Description    (Table C063)
  1279.  7    ISA enhanced performance mode
  1280.  6    ISA bus master installed
  1281.  5-4    PCI slot IRQ
  1282.     00 IRQ5
  1283.     01 IRQ9
  1284.     10 IRQ15
  1285.     11 IRQ15
  1286.  3    PCI on-board SCSI controller enabled
  1287.  1-0    ISA frame buffer
  1288.     00 disabled
  1289.     01 1MB at 15MB
  1290.     10 2MB at 14MB
  1291.     11 4MB at 12MB
  1292. SeeAlso: #C062
  1293. ----------R4B--------------------------------
  1294. CMOS 4Bh - AMI (Saturn) - ON-BOARD PERIPHERALS
  1295.  
  1296. Bitfields for AMI (Saturn) on-board peripherals:
  1297. Bit(s)    Description    (Table C064)
  1298.  4    onboard FDC enabled
  1299.  0    onboard IDE enabled
  1300. ----------R4C--------------------------------
  1301. CMOS 4Ch - AMI (Saturn) - PARALLEL PORT
  1302.  
  1303. Bitfields for AMI (Saturn) parallel port:
  1304. Bit(s)    Description    (Table C065)
  1305.  4    IRQ active high
  1306.  3    parallel port extended mode
  1307.  1-0    parallel port address
  1308. ----------R4C--------------------------------
  1309. CMOS 4Ch - AMI (PicoPower) - CLOCK SPEEDS
  1310.  
  1311. Bitfields for AMI (PicoPower) clock speeds:
  1312. Bit(s)    Description    (Table C066)
  1313.  7-6    back-to-back I/O delay
  1314.     00  none
  1315.     01  1 SYSCLK
  1316.     10  2 SYSCLKs
  1317.     11  3 SYSCLKs
  1318.  5-3    Turbo clock select
  1319.     001 CLK2IN/3
  1320.     010 CLK2IN/4
  1321.     011 CLK2IN/5
  1322.     100 CLK2IN/6
  1323.     101 CLK2IN/7
  1324.     110 CLK2IN/8
  1325.     111 CLK2IN/9
  1326.  2-0    SYSCLK select (same as for Turbo clock select)
  1327. ----------R4D--------------------------------
  1328. CMOS 4Dh - AMI (Saturn) - RESERVED
  1329. ----------R4D--------------------------------
  1330. CMOS 4Dh - AMI (PicoPower) - MIDDLE BIOS
  1331. Note:    Middle BIOS is enabled if bit 1 set
  1332. ----------R4E--------------------------------
  1333. CMOS 4Eh - AMI (Saturn) - SERIAL PORT
  1334.  
  1335. Bitfields for AMI (Saturn) serial port:
  1336. Bit(s)    Description    (Table C067)
  1337.  7-5    serial port 1
  1338.  4-2    serial port 2
  1339.  0    manual programming mode
  1340. ----------R4E--------------------------------
  1341. CMOS 4Eh - AMI (PicoPower) - TURBO BUS VIDEO
  1342.  
  1343. Bitfields for AMI (PicoPower) Turbo Bus video:
  1344. Bit(s)    Description    (Table C068)
  1345.  2    memory enabled
  1346.  1    I/O enabled
  1347. ----------R50--------------------------------
  1348. CMOS 50h - AWARD - PCI Bus Slot 1 Latency Timer 0-255 (default: 0)
  1349. ----------R51--------------------------------
  1350. CMOS 51h - AMI - MEMORY ACCESS CONTROL
  1351.  
  1352. Bitfields for AMI memory access control:
  1353. Bit(s)    Description    (Table C069)
  1354.  7    Bank 0/1 RAS Precharge
  1355.  6    Bank 0/1 Access Wait States
  1356.  3-2    Bank 0/1 Wait States
  1357. ----------R51--------------------------------
  1358. CMOS 51h - AWARD - PCI Bus Setup
  1359.  
  1360. Bitfields for AWARD PCI bus setup:
  1361. Bit(s)    Description    (Table C070)
  1362.  7    PIRQ0# Interrupt Triggering
  1363.     0 = Edge Sensitive,
  1364.     1 = Level Sensitive
  1365.  6-2    ??? Default: all 1's
  1366.  0-1    Slot 1 IRQ Setup
  1367.     00 = A-PIRQ0 (Default)
  1368.     01 = B-PIRQ1
  1369.     10 = C-PIRQ2
  1370.     11 = D-PIRQ3
  1371. ----------R52--------------------------------
  1372. CMOS 52h - ???
  1373. ----------R52--------------------------------
  1374. CMOS 52h - AWARD - PCI Bus Slot 2 Latency Timer 0-255 (default: 0)
  1375. ----------R53--------------------------------
  1376. CMOS 53h - AMI - MEMORY ACCESS CONTROL
  1377.  
  1378. Bitfields for AMI memory access control:
  1379. Bit(s)    Description    (Table C071)
  1380.  7    Bank 2/3 RAS Precharge
  1381.  6    Bank 2/3 Access Wait States
  1382.  3-2    Bank 2/3 Wait States
  1383. ----------R53--------------------------------
  1384. CMOS 53h - AWARD - PCI Bus Setup
  1385.  
  1386. Bitfields for AWARD PCI bus setup:
  1387. Bit(s)    Description    (Table C072)
  1388.  7    PIRQ1# Interrupt Triggering
  1389.     0 = Edge Sensitive,
  1390.     1 = Level Sensitive
  1391.  6-2    ??? Default: all 1's
  1392.  0-1    Slot 2 IRQ Setup
  1393.     00 = A-PIRQ1 (Default)
  1394.     01 = B-PIRQ2
  1395.     10 = C-PIRQ3
  1396.     11 = D-PIRQ0
  1397. ----------R547F------------------------------
  1398. CMOS 54h-7Fh - ???
  1399. ----------R54--------------------------------
  1400. CMOS 54h - AWARD - PCI Bus Slot 3 Latency Timer 0-255 (default: 0)
  1401. ----------R55--------------------------------
  1402. CMOS 55h - AWARD - PCI Bus Setup
  1403.  
  1404. Bitfields for AWARD PCI bus setup:
  1405. Bit(s)    Description    (Table C073)
  1406.  7    PIRQ2# Interrupt Triggering
  1407.     0 = Edge Sensitive,
  1408.     1 = Level Sensitive
  1409.  6-2    ??? Default: all 1's
  1410.  0-1    Slot 3 IRQ Setup
  1411.     00 = A-PIRQ2 (Default)
  1412.     01 = B-PIRQ3
  1413.     10 = C-PIRQ0
  1414.     11 = D-PIRQ1
  1415. ----------R56--------------------------------
  1416. CMOS 56h - AWARD - ??? reserved for PCI Bus Slot 4 Latency Timer ???
  1417. ----------R57--------------------------------
  1418. CMOS 57h - AWARD - PCI Bus Setup
  1419.  
  1420. Bitfields for AWARD PCI bus setup:
  1421. Bit(s)    Description    (Table C074)
  1422.  7    PIRQ3# Interrupt Triggering
  1423.     0 = Edge Sensitive,
  1424.     1 = Level Sensitive
  1425.  6-0    ???not used    Default: all 1's
  1426. ----------R58--------------------------------
  1427. CMOS 58h - AWARD - ??? reserved for PCI Bus Slot 5 Latency Timer ???
  1428.  
  1429. Bitfields for AWARD PCI bus slot 5 latency timer:
  1430. Bit(s)    Description    (Table C075)
  1431.  3    onboard CMD IDE Mode 3
  1432. ----------R59--------------------------------
  1433. CMOS 59h - AWARD - ??? reserved for PCI Bus Setup ???
  1434. ----------R5A--------------------------------
  1435. CMOS 5Ah - AWARD - PCI Bus IRQ Setup 1
  1436.  
  1437. Bitfields for AWARD PCI bus IRQ setup 1:
  1438. Bit(s)    Description    (Table C076)
  1439.  4-7    PIRQ1# Interrupt Line (0=none, Bh=IRQ11, etc)
  1440.  0-3    PIRQ0# Interrupt Line      "         "          "
  1441. ----------R5B--------------------------------
  1442. CMOS 5Bh - AWARD - PCI Bus IRQ Setup 2
  1443.  
  1444. Bitfields for AWARD PCI bus IRQ setup 2:
  1445. Bit(s)    Description    (Table C077)
  1446.  4-7    PIRQ3# Interrupt Line (0=none, Bh=IRQ11, etc)
  1447.  0-3    PIRQ2# Interrupt Line      "         "          "
  1448. ----------R5C--------------------------------
  1449. CMOS 5Ch - AMI (PicoPower) - LOW-SPEED CLOCK
  1450.  
  1451. Bitfields for AMI (PicoPower) low-speed clock select:
  1452. Bit(s)    Description    (Table C078)
  1453.  2-0    low-speed clock divisor
  1454.     000  /1
  1455.     001  /2
  1456.     010  /4
  1457. ----------R5C5F------------------------------
  1458. CMOS 5Ch-5Fh - AWARD - ??? unused ???
  1459. Note:    Defaults to all FFh's.
  1460. ----------R5D--------------------------------
  1461. CMOS 5Dh - AMI (PicoPower) - DOZE MODE
  1462.  
  1463. Bitfields for AMI (PicoPower) doze mode control:
  1464. Bit(s)    Description    (Table C079)
  1465.  7    APM enabled
  1466.  6-4    doze mode CPU clock speed (see #C080)
  1467.  3    hotkey setup enabled
  1468.  2-0    "sleep mode" CPU CLK speed (see #C080)
  1469. SeeAlso: #C081
  1470.  
  1471. (Table C080)
  1472. Values for AMI (PicoPower) CPU clock speeds:
  1473.  000    MAX
  1474.  001    MAX/2
  1475.  010    MAX/4
  1476.  011    MAX/8
  1477.  100    MAX/16
  1478.  101    MAX/32
  1479.  110    MAX/64
  1480. SeeAlso: #C079,#C081
  1481. ----------R5E--------------------------------
  1482. CMOS 5Eh - AMI 1990 Hyundai super-NB368S notebook - ???
  1483.     00h when values from bios defaults
  1484.     34h when values from power up defaults
  1485. ----------R5E5F------------------------------
  1486. CMOS 5Eh-5Fh - AMI (PicoPower) - CPU SPEEDS
  1487.  
  1488. Bitfields for AMI (PicoPower) CPU speeds:
  1489. Bit(s)    Description    (Table C081)
  1490.  7    suspend warning beeps enabled
  1491.  6-4    "full on" CPU CLK speed
  1492.     000 MAX
  1493.     001 MAX/2
  1494.     010 MAX/4
  1495.     011 MAX/8
  1496.  1-0    power management mode
  1497.     00 disabled
  1498.     01 Auto
  1499.     10 enabled
  1500. SeeAlso: #C079
  1501. ----------R5F--------------------------------
  1502. CMOS 5Fh - AMI (PicoPower) - POWER MANAGEMENT TIMEOUTS
  1503.  
  1504. Bitfields for AMI (PicoPower) power management timeouts:
  1505. Bit(s)    Description    (Table C082)
  1506.  7    enable battery-low beeps
  1507.  5-3    SUSPEND timeout
  1508.     000  disabled
  1509.     001  5 minutes
  1510.     010  10 minutes
  1511.     011  15 minutes
  1512.     100  20 minutes
  1513.     101  30 minutes
  1514.     110  40 minutes
  1515.     111  60 minutes
  1516.  2-0    DOZE timeout
  1517.     000  disabled
  1518.     100  1 second
  1519.     101  4 seconds
  1520.     110  8 seconds
  1521.     111  16 seconds
  1522. SeeAlso: #C084
  1523. ----------R60--------------------------------
  1524. CMOS 60h - AWARD - POWER MANAGEMENT
  1525.  
  1526. Bitfields for AWARD power management:
  1527. Bit(s)    Description    (Table C083)
  1528.  7    ???
  1529.  6    Video Off Method
  1530.     1  = V/H SYNC + Blank (default)
  1531.     0  = Blank Screen
  1532.  4,5    Video Off Option
  1533.     00 = Always On (default)
  1534.     01 = Suspend -> Off
  1535.     10 = Suspend, Standby -> Off
  1536.     11 = All Modes -> Off
  1537.  3    PM Control by APM (1=Yes)
  1538.  2    ???
  1539.  1,0    Power Management Setup
  1540.     00  User Defined
  1541.     01  Disabled (default)
  1542.     10  Minimum Power Savings (40 Minutes for all events)
  1543.     11  Maximum Power Savings (20 Seconds for all events)
  1544. ----------R60--------------------------------
  1545. CMOS 60h - AMI (PicoPower) - SLEEP TIMEOUT
  1546.  
  1547. Bitfields for AMI (PicoPower) sleep timeout:
  1548. Bit(s)    Description    (Table C084)
  1549.  5-3    SLEEP timeout
  1550.     000  disabled
  1551.     001  1 minute
  1552.     010  2 minutes
  1553.     011  3 minutes
  1554.     100  4 minutes
  1555.     101  6 minutes
  1556.     110  8 minutes
  1557.     111  12 minutes
  1558. SeeAlso: #C082,#C086
  1559. ----------R6077------------------------------
  1560. CMOS 60h-77h - AMI WinBIOS - PCI chipset-specific setup information
  1561. ----------R61--------------------------------
  1562. CMOS 61h - AWARD - POWER MANAGEMENT
  1563.  
  1564. Bitfields for AWARD power management:
  1565. Bit(s)    Description    (Table C085)
  1566.  7    PM Event on HDD Ports Activity (1=enable)
  1567.  6    PM Event on LPT Port Activity (1=enable)
  1568.  5    PM Event on COM Port Activity (1=enable)
  1569.  4    HDD Power Down on Suspend
  1570.  0-3    HDD Power Down Time
  1571.     0    Disabled
  1572.     1-15    Time in Minutes
  1573. ----------R62--------------------------------
  1574. CMOS 62h - AMI 1990 Hyundai super-NB368S notebook - ???
  1575.     FFh when values from bios defaults
  1576.     FEh when values from power up defaults
  1577. ----------R62--------------------------------
  1578. CMOS 62h - AMI (Neptune) - number of last PCI bus in system
  1579. SeeAlso: INT 1A/AX=B101h
  1580. ----------R62--------------------------------
  1581. CMOS 62h - AMI (PicoPower) - HARD-DISK POWERDOWN
  1582.  
  1583. Bitfields for AMI (PicoPower) hard-disk powerdown timeout:
  1584. Bit(s)    Description    (Table C086)
  1585.  3-0    hard-disk timeout in minutes (0000 = disabled)
  1586. SeeAlso: #C084
  1587. ----------R62--------------------------------
  1588. CMOS 62h - AWARD - POWER MANAGEMENT
  1589.  
  1590. Bitfields for AWARD power management:
  1591. Bit(s)    Description    (Table C087)
  1592.  7-4    Standby Mode Setting (for User Defined)
  1593.     0   Disabled
  1594.     1   20 Seconds
  1595.     2   1 Minute
  1596.     3   5 Minutes
  1597.     4   10 Minutes
  1598.     5   15 Minutes
  1599.     6   20 Minutes
  1600.     7   30 Minutes
  1601.     8   40 Minutes
  1602.  0-3    Doze Mode Setting (for User Defined)
  1603.     (See Standby Mode above)
  1604. ----------R63--------------------------------
  1605. CMOS 63h - AWARD - POWER MANAGEMENT
  1606.  
  1607. Bitfields for AWARD power management:
  1608. Bit(s)    Description    (Table C088)
  1609.  7    Disable PM Event on IRQ3 Activity (COM2) (1=disable)
  1610.  6    PM Event on VGA Activity (1=enable)
  1611.  5    ??? (Defaults to 1)
  1612.  4    PM Event on PCI/ISA Master Activity (1=enable)
  1613.  0-3    Suspend Mode Setting (for User Defined)
  1614.     (See Standby Mode above)
  1615. ----------R63--------------------------------
  1616. CMOS 63h - AMI (PicoPower) - BATTERY-LOW ACTIONS
  1617.  
  1618. Bitfields for AMI (PicoPower) battery-low actions:
  1619. Bit(s)    Description    (Table C089)
  1620.  5-3    battery-very-low action
  1621.     000  MAX
  1622.     001  MAX/2
  1623.     010  MAX/4
  1624.     011  MAX/8
  1625.     100  MAX/16
  1626.     101  MAX/32
  1627.     110  MAX/64
  1628.     111  suspend
  1629.  2-0    battery-low action (same as battery-very-low action)
  1630. ----------R64--------------------------------
  1631. CMOS 64h - AMI 1990 Hyundai super-NB368S notebook - ???
  1632. ----------R64--------------------------------
  1633. CMOS 64h - AMI (PicoPower) - BATTERY POWER
  1634.  
  1635. Bitfields for AMI (PicoPower) battery power:
  1636. Bit(s)    Description    (Table C090)
  1637.  6    extended battery debounce enabled
  1638.  4-3    resume with modem ring
  1639.     00 disabled
  1640.     01 one ring
  1641.     10 two rings
  1642.     11 three rings
  1643.  2    365SL power on during suspend
  1644.  1-0    suspend-mode DRAM refresh cycle
  1645.     00 15 usec
  1646.     01 120 usec (1/8 normal)
  1647.     10 self
  1648. ----------R64--------------------------------
  1649. CMOS 64h - AWARD - POWER MANAGEMENT - IRQ activity events
  1650.  
  1651. Bitfields for AWARD power management IRQ activity events:
  1652. Bit(s)    Description    (Table C091)
  1653.  7    Disable PM Event on IRQ11 Activity (1=disable)
  1654.  6    Disable PM Event on IRQ10 Activity (1=disable)
  1655.  5    Disable PM Event on IRQ9 Activity (IRQ2 Redir) (1=disable)
  1656.  4    Disable PM Event on IRQ8 Activity (RTC Alarm) (1=disable)
  1657.  3    Disable PM Event on IRQ7 Activity (LPT1) (1=disable)
  1658.  2    Disable PM Event on IRQ6 Activity (Floppy) (1=disable)
  1659.  1    Disable PM Event on IRQ5 Activity (LPT2) (1=disable)
  1660.  0    Disable PM Event on IRQ4 Activity (COM1) (1=disable)
  1661. ----------R65--------------------------------
  1662. CMOS 65h - AWARD - POWER MANAGEMENT
  1663.  
  1664. Bitfields for AWARD power management:
  1665. Bit(s)    Description    (Table C092)
  1666.  7-4    ??? may be unused.  Defaults to all 1's
  1667.  3    Disable PM Event on IRQ15 Activity (1=disable)
  1668.  2    Disable PM Event on IRQ14 Activity (Hard Disk) (1=disable)
  1669.  1    Disable PM Event on IRQ13 Activity (Coprocessor) (1=disable)
  1670.  0    Disable PM Event on IRQ12 Activity (PS/2 Mouse) (1=disable)
  1671. ----------R65--------------------------------
  1672. CMOS 65h - AMI (PicoPower) - PC PIN STAGGER
  1673.  
  1674. Bitfields for AMI (PicoPower) PC pin stagger:
  1675. Bit(s)    Description    (Table C093)
  1676.  7-6    PC pin stagger period
  1677.     00  immediate
  1678.     01  4 msec
  1679.     10  16 msec
  1680.     11  64 msec
  1681. ----------R66--------------------------------
  1682. CMOS 66h - AMI 1990 Hyundai super-NB368S notebook - DOZE MODE TIMEOUT
  1683. Note:    doze mode timeout 00-0F, from table (0,12 -14 sec)
  1684. ----------R6679------------------------------
  1685. CMOS 66h-79h - AWARD - ??? unused ???
  1686. Note:    Defaults to all FFh's.
  1687. ----------R67--------------------------------
  1688. CMOS 67h - AMI 1990 Hyundai super-NB368S notebook - SLEEP MODE TIMEOUT
  1689. Desc:    sleep mode timeout 00-0F, units of 1 second
  1690. ----------R68--------------------------------
  1691. CMOS 68h - AMI 1990 Hyundai super-NB368S notebook - SUSPEND MODE TIMEOUT
  1692. Desc:    suspend mode timeout 01-0F, units of 5 minutes
  1693. ----------R686F------------------------------
  1694. CMOS 68h-6Fh - AWARD - IDE hard disk params for first drive on second IDE port
  1695. ----------R69--------------------------------
  1696. CMOS 69h - AMI 1990 Hyundai super-NB368S notebook - LCD MODE TIMEOUT
  1697. Desc:    LCD mode timeout 01-0F, units of 1 minute
  1698. ----------R6A--------------------------------
  1699. CMOS 6Ah - AMI 1990 Hyundai super-NB368S notebook - ???
  1700. ----------R7077------------------------------
  1701. CMOS 70h-77h - AWARD - IDE hard disk params for second drive on second IDE port
  1702. ----------R787D------------------------------
  1703. CMOS 78h-7Dh - AMI WinBIOS - used by BIOS as scratch RAM
  1704. ----------R7A--------------------------------
  1705. CMOS 7Ah - AWARD - EXTENDED CMOS CHECKSUM (high byte)
  1706. ----------R7B--------------------------------
  1707. CMOS 7Bh - AWARD - EXTENDED CMOS CHECKSUM (low byte)
  1708.     Award's extended checksum is the arithmetic sum of all the bytes
  1709.     from 40h (64 decimal) through 79h (121 decimal).
  1710. ----------R7E7F------------------------------
  1711. CMOS 7Eh-7Fh - AMI WinBIOS - used as scratch RAM by power management code
  1712. --------!---Admin----------------------------
  1713. Highest Table Number = C093
  1714. --------!---History--------------------------
  1715. Revision History
  1716.  
  1717. v1.26    Sep,  1995    reformatted (Ralf)
  1718. v1.25    June  1995    Added AMI WinBIOS info from Daniel Miller (Ralf)
  1719. v1.24    Jan,  1995    Added Award info from Tim Farley (Ralf)
  1720. v1.23    June, 1994    Added some MCA info from _The_Undocumented_PC_
  1721. v1.22    Feb,  1994    Added NMI mask note
  1722. v1.21    Jan,  1994    Added note for PS/2 checksum found
  1723. v1.20    Sept, 1993    PHOENIX data from Wim Osterholt added
  1724.             additional AMI data from Howie (hjh@gwd.dst.gov.au)
  1725. v1.15    June, 1993    AMSTRAD data updated
  1726. v1.1    June, 1993    AMSTRAD & PS/2 data added 
  1727. v1.0    June, 1993    First release: Motorola MC 146818,  PC-AT & AMI 
  1728.             "Hi-Flex" information baselined
  1729. ---------------------------------------------
  1730.